package com.tianyang.yukuaifuzs.business.trade.contract;

import android.content.Intent;

import com.tianyang.yukuaifuzs.base.IBaseExtraView;
import com.tianyang.yukuaifuzs.base.IBasePresenter;
import com.tianyang.yukuaifuzs.business.auth.bean.BankRegOutput;
import com.tianyang.yukuaifuzs.business.trade.bean.SettleBankOutput;

/**
 * Description：修改结算卡
 * Created by xyj on 2024/3/11
 */
public interface UpdateSettleCardContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示图片
         */
        void showPhotoView(String urlStr, String photoType);

        /**
         * 显示银行信息
         */
        void showBankCardView(BankRegOutput output);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 弹出拍照弹框
         */
        void showSelectImgSourceView(String currentPhotoType);

        /**
         * 拍照回调
         */
        void onActivityResult(int requestCode, int resultCode, Intent data);

        /**
         * 修改
         */
        void modifyUserSettlementCard(SettleBankOutput output);
    }
}
